import axios from "@/api/index"

function indexaction(data){
    return axios({
        url:"/category/indexaction",
        method:"GET",
        data
    })
}

function currentaction(data){
    return axios({
        url:"/category/currentaction",
        method:"GET",
        data
    })
}
export { // import {index} from "" export可以写多次
    indexaction,
    currentaction
}

// export default index // import index1 from ""  export default 只能写一次